<%--
  Created by IntelliJ IDEA.
  User: user
  Date: 2024/6/3
  Time: 16:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--forward动作用于转发，进行页面的跳转，也可以直接转发到对应的servlet映射的路径上
可以通过param子动作进行传参--%>
这里是forward1.jsp
<jsp:forward page="forward2.jsp">
    <jsp:param name="username" value="tom"/>
</jsp:forward>
</body>
</html>
